package com.company.service;

import com.company.dao.PageProDao;
import com.company.entity.Chanpinfuwu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public class PageProService {
    @Autowired
    PageProDao pageProDao;


    public List<Chanpinfuwu> query(int pageNum, int fenlei) {
        List<Chanpinfuwu> list = pageProDao.getChanpinfuwuByFenlei(fenlei);

        return;
    }

    public int queryPageNum(int fenlei) {
        return pageProDao.queryPageNum(fenlei);
    }
}
